<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="STYLESHEET" type="text/css" href="../dhtmlx/dhtmlxTabbar/codebase/dhtmlxtabbar.css"> 
<script  src="../dhtmlx/dhtmlxTree/codebase/dhtmlxcommon.js"></script>
<script  src="../dhtmlx/dhtmlxTabbar/codebase/dhtmlxtabbar.js"></script> 
<script  src="../dhtmlx/dhtmlxTabbar/codebase/dhtmlxtabbar_start.js"></script>
<%
String tab = request.getParameter("tab");
if (request.getParameter("tab") == null) tab = "b1";

%>
<title>SK43 TokTok Project</title>
<script>  
    function setTabbar(){
        tabbar=new dhtmlXTabBar("a_tabbar","top");
        tabbar.setImagePath("../dhtmlx/dhtmlxTabbar/codebase/imgs/");
        tabbar.setStyle("silver");
        tabbar.addTab("b1","기본사항 조회","150px");
        tabbar.addTab("b2","학력사항 조회","150px");
        tabbar.addTab("b3","병역사항 조회","150px");
        tabbar.addTab("b4","외국어사항 조회","150px");
        tabbar.addTab("b5","자격사항 조회","150px");
        tabbar.addTab("b6","가족사항 조회","150px");
        tabbar.setHrefMode("iframe");
        tabbar.setContentHref("b1","search_employee_info.jsp");
        tabbar.setContentHref("b2","search_education.jsp");
        tabbar.setContentHref("b3","search_military.jsp");
        tabbar.setContentHref("b4","search_language.jsp");
        tabbar.setContentHref("b5","search_license.jsp");
        tabbar.setContentHref("b6","search_family.jsp");
        tabbar.setTabActive("<%=tab%>");
        /**
        tabbar._showHover=function(tab){
            if (tab==this._lastActive) return;
            tabbar._setTabActive(tab,true)
        }
        **/

    }

        </script>  
</head>
 
<body >
<table  width="1024" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td style="height:80px">
			<!-- 상단 메뉴 페이지 포함 -->
			<jsp:include page="../include/top.jsp"></jsp:include>
		</td>
	</tr>
	<tr>
		<td align="top">
			<!-- 본페이지 시작 -->
			<div id="a_tabbar" style="width:100%; height:600px; overflow: hidden"></div>
		</td>
	</tr>
	<!-- 본페이지 끝-->
	<!-- 하단 페이지 시작-->
	<tr>
		<td style="height:40px">
			<!-- 상단 메뉴 페이지 포함 -->
			<jsp:include page="../include/bottom.jsp"></jsp:include>
		</td>
	</tr>
</table>
</body>
</html>
<script>    
setTabbar();
</script>
